Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[SPIP] Support SMS with spaces #76

Open
wants to merge 2 commits into
base: 2.40.4.1
Choose a base branch
from

Conversation

tokland
Copy link

@tokland tokland commented Feb 11, 2025

Required by https://app.clickup.com/t/8696nmumu

Motivation: When a SMS message body is "word1 word", the final request is "word1+word". This URL encoding makes sense when the body is part of a query string, but that's not our use case (nor the typical use case), when we POST the body as JSON, so no encoding is required. We add a conditional so we do not break URL mode.

@adrianq adrianq changed the title [fix] support SMS with spaces [SPIP] Support SMS with spaces Feb 11, 2025
@MatiasArriola MatiasArriola force-pushed the workaround/sms-disable-encoding-for-json-body branch from 51632e2 to ea4d9e6 Compare February 19, 2025 22:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants